package compar;

/**
 * Created with IntelliJ IDEA.
 * ClassName: compar.Test1
 * Package: PACKAGE_NAME
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-08-17
 * Time: 14:36
 */

public class Test1 {
    public static void main(String[] args) {

        //字符串的创建
        String s = "hello";
        String b= "hello";
        //字面定义的方式 存字符串常量池中
        System.out.println(s == b);

    }
}
